set(MODULE data-acq)

aux_source_directory(./ SRC)
add_library(${MODULE} ${SRC})
# add_dependencies(${MODULE} vendor)
target_link_directories(${MODULE} PUBLIC ${JSONCPP_LIBS_DIR})
target_link_libraries(${MODULE} jsoncpp settings vendor leoyun dbms downlink protocol)
target_include_directories(${MODULE} PUBLIC ./
    ${JSONCPP_INCLUDE_DIR}
    ${PRODUCT_ROOT_DIR}/foundation/webconfig/
    ${PRODUCT_ROOT_DIR}/foundation/downlink
    ${PRODUCT_ROOT_DIR}/communications
    ${PRODUCT_ROOT_DIR}/protocol
    )

if (PROJECT_ENABLE_TEST)
    add_subdirectory(test)
endif()